package mapper;

import entity.Log;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface LogMapper {
    int insert(Log log);

    int deleteByTime(@Param(value="end") String end);

    int deleteAll();

    List<Log> selectAll();

    List<Log> selectByTime(Map<String,Object> map);
}
